#ifndef __KERNEL_MEM_H_
#define __KERNEL_MEM_H_

/**
 * @brief align up with word size
 * 
 * @param size the size before align up
 * @return int the aligned up size
 *
 * @note 1 2 3 -> 4
 */
int word_align_up(int size);


/**
 * @brief align down with word size
 * 
 * @param size the size before align down
 * @return int the aligned down size
 *
 * @note 1 2 3 -> 0
 */
int word_align_down(int size);

#endif//__KERNEL_MEM_H_